package com.zhiche.lisa.lspm.service.carrier;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.IService;
import com.zhiche.lisa.lspm.dao.model.carrier.CarrierLicenseAttach;
import com.zhiche.lisa.lspm.dao.model.driver.DriverLicenseAttach;

import java.util.List;

/**
 * 牵引车证照附件 service
 * @since 2018-05-25
 * @author lbl
 */
public interface ICarrierLicenseAttachService extends IService<CarrierLicenseAttach> {

    /**
     * 批量添加证照附件
     * @param list
     */
    void batchInsert(List<CarrierLicenseAttach> list);

    /**
     * 根据传入旧的附件信息进行删除
     * @param carrierLicenseAttach
     */
    void updateOldAttachDeleteState(CarrierLicenseAttach carrierLicenseAttach);
}
